package com.eastfair.builder.service;

import com.eastfair.boot.service.SuperService;
import com.eastfair.builder.dto.ReportDrawingCategoryDTO;
import com.eastfair.builder.entity.ReportDrawingCategory;
import com.eastfair.builder.vo.ReportDrawingCategoryVO;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 报馆图纸分类
 * </p>
 *
 * @author dq
 * @date 2022-08-06
 */
public interface ReportDrawingCategoryService extends SuperService<ReportDrawingCategory> {

    /**
     * 报馆ID查询图纸分类列表.
     *
     * @param reportSpaceId the report space id
     * @return the list
     */
    List<ReportDrawingCategoryVO> listReportDrawingCategoryVOsByReportSpaceId(Long reportSpaceId);

    /**
     * 查询报馆图纸分类列表.
     *
     * @param query the query
     * @return the list
     */
    List<ReportDrawingCategory> listReportDrawingCategories(ReportDrawingCategoryDTO query);

    /**
     * 保存报馆图纸分类.
     *
     * @param categoryDTO the category dto
     * @return the boolean
     */
    boolean saveReportDrawingCategory(ReportDrawingCategoryDTO categoryDTO);
}
